MuleSoft Accelerator for Retail
Use case 1c - Customer profile sync from Marketing Cloud
Overview
This use case is an extension of use case 1. It records updates published from Marketing Cloud into MDM and other downstream systems.
Before you begin
The Accelerators setup guide provides general information on getting started with the accelerator components. This includes instructions on setting up your local workstation for configuring and deploying the applications. |
High-level architecture
Workflow
- The use case is triggered when a subscriber is created in Marketing Cloud
- An event is published by Marketing Cloud which is picked up by the Salesforce Marketing Listener with the Individual data.
- The Salesforce Marketing Listener converts the individual data to the CIM format and places it in a queue
The Customers Process API consumes the message from the queue and orchestrates the following by invoking the appropriate system APIs for each system:
- Create or update the individual profile in MDM with an associated master ID.
- Update the individual profile in MDM with the external ID that links the individual to the corresponding subscriber profile in Marketing Cloud
- Update Marketing Cloud with the master ID from MDM if it was not part of the individual data from step 2
Sequence diagram
Systems involved
- Marketing Cloud
- MDM
Setup instructions
Marketing Cloud configuration
Follow the setup instructions in the README file in the Salesforce Marketing System API.
MDM configuration
Follow the setup instructions in the README file in the MDM System API.
Mule projects
Accelerator Process APIs
- Customers Process API | API Specification | Implementation Template
Accelerator System APIs
- Salesforce Marketing System API | API Specification | Implementation Template
- MDM System API | API Specification | Implementation Template
Accelerator Listeners
- Salesforce Marketing Listener | Implementation Template